/*
 * @Author: Await
 * @Date: 2025-05-06 18:30:00
 * @LastEditors: Await
 * @LastEditTime: 2025-05-06 18:30:00
 * @Description: 仙境主题预设
 */
import { ThemeConfig } from '../../../../types/chartTypes';

const wonderlandTheme: ThemeConfig = {
  themeName: '仙境主题',
  color: [
    '#4ea397', 
    '#22c3aa', 
    '#7bd9a5', 
    '#d0648a', 
    '#f58db2', 
    '#f2b3c9', 
    '#4cb4e7',
    '#65abdd',
    '#1ba784',
    '#62c8c3'
  ],
  backgroundColor: 'rgba(255, 248, 255, 1)',
  textStyle: {
    color: '#666',
    fontFamily: 'sans-serif',
    fontSize: 12,
  },
  title: {
    textStyle: {
      color: '#4ea397',
      fontSize: 16,
      fontWeight: 'normal',
    },
    subtextStyle: {
      color: '#d0648a',
      fontSize: 12,
    },
  },
  line: {
    symbol: 'circle',
    symbolSize: 4,
    smooth: true,
    lineStyle: {
      width: 2,
      type: 'solid',
    },
  },
  radar: {
    symbolSize: 4,
    lineStyle: {
      width: 2,
    },
    areaStyle: {
      opacity: 0.3,
    },
  },
  tooltip: {
    backgroundColor: 'rgba(255, 255, 255, 0.8)',
    borderColor: '#4ea397',
    borderWidth: 1,
    padding: 10,
    textStyle: {
      color: '#666',
    },
  },
  axis: {
    axisLine: {
      show: true,
      lineStyle: {
        color: '#4ea397',
        width: 1,
      },
    },
    axisTick: {
      show: true,
      lineStyle: {
        color: '#4ea397',
        width: 1,
      },
    },
    axisLabel: {
      color: '#666',
      fontSize: 10,
    },
    splitLine: {
      lineStyle: {
        color: ['#eee'],
        width: 1,
        type: 'solid',
      },
    },
    splitArea: {
      show: false,
    },
  },
  legend: {
    textStyle: {
      color: '#666',
      fontSize: 12,
    },
  },
  toolbox: {
    iconStyle: {
      normal: {
        borderColor: '#4ea397',
      },
      emphasis: {
        borderColor: '#22c3aa',
      },
    },
  },
  timeline: {
    lineStyle: {
      color: '#4ea397',
      width: 1,
    },
    itemStyle: {
      color: '#4ea397',
      borderWidth: 1,
    },
    controlStyle: {
      color: '#4ea397',
      borderColor: '#4ea397',
    },
    label: {
      color: '#4ea397',
    },
  },
};

export default wonderlandTheme;